<div class="am-panel-group" id="accordion">
  {{each tables as value index}}
  <div class="am-panel am-panel-default">
    
    <div class="am-panel-hd">
      <h4 class="am-panel-title" data-am-collapse="{parent: '#accordion', target: '#do-not-say-{{index}}'}">
        {{value['title']}}
      </h4>
    </div>
    
    <div id="do-not-say-{{index}}" class="am-panel-collapse am-collapse am-off">
      <div class="am-panel-bd">
        <input type="hidden" id="token-{{index}}" value="{{value['token']}}">
        <p id="code-{{index}}">
            签到码：{{value['code']}}
        </p>
        <p id="code-expiredTime-{{index}}">
            签到码有效期：{{value['expiredTime']}}
        </p>
        <p>
            <a target="_blank" href="/childrenUi?token={{value['token']}}">签到页面</a>
        </p>
        <p>
            <a target="_blank" href="/analy?token={{value['token']}}">统计页面页面</a>
        </p>
        <p>
            <a href="javascript:buildCode({{index}});">生成签到码（30分钟内有效）</a>
        </p>
        <p>
            <a href="/admin/sign/edit?id={{value['token']}}">修改签到表</a>
            <a href="/admin/sign/delete?token={{value['token']}}">删除签到表</a>
        </p>
      </div>
    </div>
    
  </div>
  {{/each}}
</div>
